package org.csu.wuliu.persistence;

import org.csu.wuliu.domain.Refund;
import org.springframework.stereotype.Repository;

import javax.print.DocFlavor;
import java.util.List;

@Repository
public interface RefundMapper {
    Refund getRefund(String orderId);
    //查询某分站内所有退款信息
    List<Refund> getRefundListBySubstation(String substationId);
    //查询某年月内所有退款信息
    List<Refund> getRefundListBySubstationIdAndMonth(String yearmonth,String substationId);

    void insertRefund(Refund refund);
    void updateRefund(Refund refund);
}
